<?php

namespace Acme\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Acme\MainBundle\Entity\Rola
 *
 * @ORM\Table()
 * @ORM\Entity
 */
class Rola
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;
        
    /**
     * @ORM\ManyToOne(targetEntity="Seminar")
     * 
     * @var Seminar $seminar 
     */
    private $seminar;
    
    /**
     * @ORM\ManyToOne(targetEntity="Pouzivatel")
     * 
     * @var Pouzivatel $pouzivatel 
     */
    private $pouzivatel;

    /**
     * @var string $nazov
     *
     * @ORM\Column(name="nazov", type="string", length=20)
     */
    private $nazov;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set nazov
     *
     * @param string $nazov
     */
    public function setNazov($nazov)
    {
        $this->nazov = $nazov;
    }

    /**
     * Get nazov
     *
     * @return string 
     */
    public function getNazov()
    {
        return $this->nazov;
    }

    /**
     * Set seminar
     *
     * @param Acme\MainBundle\Entity\Seminar $seminar
     */
    public function setSeminar(\Acme\MainBundle\Entity\Seminar $seminar)
    {
        $this->seminar = $seminar;
    }

    /**
     * Get seminar
     *
     * @return Acme\MainBundle\Entity\Seminar 
     */
    public function getSeminar()
    {
        return $this->seminar;
    }

    /**
     * Set pouzivatel
     *
     * @param Acme\MainBundle\Entity\Pouzivatel $pouzivatel
     */
    public function setPouzivatel(\Acme\MainBundle\Entity\Pouzivatel $pouzivatel)
    {
        $this->pouzivatel = $pouzivatel;
    }

    /**
     * Get pouzivatel
     *
     * @return Acme\MainBundle\Entity\Pouzivatel 
     */
    public function getPouzivatel()
    {
        return $this->pouzivatel;
    }
}